package com.niiwoo.civet.account.dto.response;

import com.alibaba.fastjson.JSON;
import com.niiwoo.civet.account.enums.UnbindBankCardStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * 解绑银行卡回调
 * @author TomXue
 * @since 2018-08-03
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class UnbindBankCardCallbackResponseDTO implements Serializable {
    private static final long serialVersionUID = -5033502015140017320L;

    /**
     * 解绑银行卡订单状态
     */
    private UnbindBankCardStatusEnum orderStatus;

    /**
     * 企业名称
     */
    private String companyName;

    public static void main(String[] args) {
        UnbindBankCardCallbackResponseDTO unbindBankCardCallbackResponseDTO=new UnbindBankCardCallbackResponseDTO();
        unbindBankCardCallbackResponseDTO.setOrderStatus(UnbindBankCardStatusEnum.FAILED);
        unbindBankCardCallbackResponseDTO.setCompanyName("你我金融");
        System.out.println(JSON.toJSONString(unbindBankCardCallbackResponseDTO));
    }
}
